<!DOCTYPE html>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>桀骜的个人博客</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <script src="https://cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
    <link th:href="@{/plugin/editormd/css/editormd.css}" rel="stylesheet"/>
    <script th:src="@{/plugin/editormd/editormd.min.js}"></script>
</head>
<body>
    <div id="editormd-editor">
        <!-- 书写与实时显示的textarea -->
        <textarea id="editormd-markdown-doc" name="editormd-markdown-doc" style="display:none;"></textarea>
        <!-- 用于后端获取md稳当内容，Java中：request.getParameter("editormd-html-code")。 -->
        <textarea id="editormd-html-code" name="editormd-html-code" style="display:none;"></textarea>
    </div>

    <script th:inline="javascript" >
        $(function() {
            var editor = editormd("editormd-editor", {
                // width  : "100%",
                // height : "100%",
                path   : "/plugin/editormd/lib/"
            });
        });
    </script>
</body>
</html>